///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Aug 22 2007)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifdef WX_PRECOMP

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#else
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "DialogFilterTemplate.h"

///////////////////////////////////////////////////////////////////////////

DialogFilterTemplate::DialogFilterTemplate( wxWindow* parent, int id, wxString title, wxPoint pos, wxSize size, int style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizer8;
	bSizer8 = new wxBoxSizer( wxVERTICAL );
	
	m_notebook1 = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
	panelErode = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer9;
	bSizer9 = new wxBoxSizer( wxVERTICAL );
	
	m_panel9 = new wxPanel( panelErode, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer9->Add( m_panel9, 1, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer10;
	bSizer10 = new wxBoxSizer( wxHORIZONTAL );
	
	staticTextErodeIts = new wxStaticText( panelErode, wxID_ANY, wxT("Iterations"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextErodeIts->Wrap( -1 );
	bSizer10->Add( staticTextErodeIts, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	textCtrlErodeIts = new wxTextCtrl( panelErode, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	bSizer10->Add( textCtrlErodeIts, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	bSizer9->Add( bSizer10, 1, wxEXPAND, 5 );
	
	m_panel10 = new wxPanel( panelErode, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer9->Add( m_panel10, 1, wxEXPAND | wxALL, 5 );
	
	panelErode->SetSizer( bSizer9 );
	panelErode->Layout();
	bSizer9->Fit( panelErode );
	m_notebook1->AddPage( panelErode, wxT("Erode"), true );
	panelSmooth = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer12;
	bSizer12 = new wxBoxSizer( wxVERTICAL );
	
	wxGridSizer* gSizer1;
	gSizer1 = new wxGridSizer( 2, 2, 0, 0 );
	
	m_panel14 = new wxPanel( panelSmooth, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	gSizer1->Add( m_panel14, 1, wxEXPAND | wxALL, 5 );
	
	m_panel15 = new wxPanel( panelSmooth, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	gSizer1->Add( m_panel15, 1, wxEXPAND | wxALL, 5 );
	
	staticTextSmthType = new wxStaticText( panelSmooth, wxID_ANY, wxT("Smooth Type:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextSmthType->Wrap( -1 );
	gSizer1->Add( staticTextSmthType, 1, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 5 );
	
	comboBoxSmthType = new wxComboBox( panelSmooth, wxID_ANY, wxT("(choose...)"), wxDefaultPosition, wxSize( 100,-1 ), 0, NULL, 0 );
	comboBoxSmthType->Append( wxT("CV_BLUR_NO_SCALE") );
	comboBoxSmthType->Append( wxT("CV_BLUR") );
	comboBoxSmthType->Append( wxT("CV_GAUSSIAN") );
	comboBoxSmthType->Append( wxT("CV_MEDIAN") );
	comboBoxSmthType->Append( wxT("CV_BILATERAL") );
	gSizer1->Add( comboBoxSmthType, 1, wxALL|wxEXPAND, 5 );
	
	staticTextParam1 = new wxStaticText( panelSmooth, wxID_ANY, wxT("Param 1:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextParam1->Wrap( -1 );
	gSizer1->Add( staticTextParam1, 0, wxALL, 5 );
	
	textCtrlParam1 = new wxTextCtrl( panelSmooth, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	textCtrlParam1->SetFont( wxFont( 10, 74, 90, 90, false, wxT("Sans") ) );
	
	gSizer1->Add( textCtrlParam1, 0, wxALL|wxEXPAND, 5 );
	
	staticTextParam2 = new wxStaticText( panelSmooth, wxID_ANY, wxT("Param 2:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextParam2->Wrap( -1 );
	gSizer1->Add( staticTextParam2, 0, wxALL, 5 );
	
	textCtrlParam2 = new wxTextCtrl( panelSmooth, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	gSizer1->Add( textCtrlParam2, 0, wxALL|wxEXPAND, 5 );
	
	staticTextParam3 = new wxStaticText( panelSmooth, wxID_ANY, wxT("Param 3:"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextParam3->Wrap( -1 );
	gSizer1->Add( staticTextParam3, 0, wxALL, 5 );
	
	textCtrlParam3 = new wxTextCtrl( panelSmooth, wxID_ANY, wxT("1"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	gSizer1->Add( textCtrlParam3, 0, wxALL|wxEXPAND, 5 );
	
	m_panel16 = new wxPanel( panelSmooth, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	gSizer1->Add( m_panel16, 1, wxEXPAND | wxALL, 5 );
	
	m_panel17 = new wxPanel( panelSmooth, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	gSizer1->Add( m_panel17, 1, wxEXPAND | wxALL, 5 );
	
	bSizer12->Add( gSizer1, 1, wxEXPAND, 5 );
	
	panelSmooth->SetSizer( bSizer12 );
	panelSmooth->Layout();
	bSizer12->Fit( panelSmooth );
	m_notebook1->AddPage( panelSmooth, wxT("Smooth"), false );
	panelGrayScale = new wxPanel( m_notebook1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	wxBoxSizer* bSizer15;
	bSizer15 = new wxBoxSizer( wxVERTICAL );
	
	m_panel19 = new wxPanel( panelGrayScale, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer15->Add( m_panel19, 1, wxEXPAND | wxALL, 5 );
	
	wxGridSizer* gSizer2;
	gSizer2 = new wxGridSizer( 2, 2, 0, 0 );
	
	staticTextLowGray = new wxStaticText( panelGrayScale, wxID_ANY, wxT("Low Gray"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextLowGray->Wrap( -1 );
	gSizer2->Add( staticTextLowGray, 0, wxALL, 5 );
	
	textCtrlLowGray = new wxTextCtrl( panelGrayScale, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	gSizer2->Add( textCtrlLowGray, 0, wxALL|wxEXPAND, 5 );
	
	staticTextHighGray = new wxStaticText( panelGrayScale, wxID_ANY, wxT("High Gray"), wxDefaultPosition, wxDefaultSize, 0 );
	staticTextHighGray->Wrap( -1 );
	gSizer2->Add( staticTextHighGray, 0, wxALL, 5 );
	
	textCtrlHighGray = new wxTextCtrl( panelGrayScale, wxID_ANY, wxT("80"), wxDefaultPosition, wxDefaultSize, wxTE_RIGHT );
	gSizer2->Add( textCtrlHighGray, 0, wxALL|wxEXPAND, 5 );
	
	bSizer15->Add( gSizer2, 1, wxEXPAND, 5 );
	
	m_panel20 = new wxPanel( panelGrayScale, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer15->Add( m_panel20, 1, wxEXPAND | wxALL, 5 );
	
	panelGrayScale->SetSizer( bSizer15 );
	panelGrayScale->Layout();
	bSizer15->Fit( panelGrayScale );
	m_notebook1->AddPage( panelGrayScale, wxT("GrayScaleRmv"), false );
	
	bSizer8->Add( m_notebook1, 1, wxEXPAND | wxALL, 5 );
	
	wxBoxSizer* bSizer11;
	bSizer11 = new wxBoxSizer( wxHORIZONTAL );
	
	buttonCancel = new wxButton( this, wxID_ANY, wxT("Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer11->Add( buttonCancel, 0, wxALL, 5 );
	
	m_panel11 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
	bSizer11->Add( m_panel11, 1, wxEXPAND | wxALL, 5 );
	
	buttonOk = new wxButton( this, wxID_ANY, wxT("Ok"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer11->Add( buttonOk, 0, wxALL, 5 );
	
	bSizer8->Add( bSizer11, 0, wxEXPAND, 5 );
	
	this->SetSizer( bSizer8 );
	this->Layout();
	
	// Connect Events
	buttonCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogFilterTemplate::OnButtonCancelClick ), NULL, this );
	buttonOk->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DialogFilterTemplate::OnButtonOkClick ), NULL, this );
}
